﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using EntityDA;

namespace BussinessObject
{
    public class LoaiSachController
    {
        public List<LoaiSachData> GetAllLoaiSach()
        {
            LoaiSachDB db = new LoaiSachDB();
            return db.GetAllLoaiSach();
        }
        public LoaiSachData GetOneLoaiSach(int MaLoai)
        {
            LoaiSachDB db = new LoaiSachDB();
            return db.GetOneLoaiSach(MaLoai);
        }
    }
}